package com.pea.fow.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pea.fow.dao.BorrowMapper;
import com.pea.fow.model.Borrow;
import com.pea.fow.service.IBorrowService;

/**
 * @author liyinlong
 *com.pea.fow.service.impl
 *BorrowServiceImpl.java
 * 2017年5月11日下午2:44:53
 */
@Service
public class BorrowServiceImpl implements IBorrowService {

	@Autowired
	private BorrowMapper borrowMapper;
	/* 
	 * 下午2:44:53
	 *@see com.pea.fow.service.IBorrowService#getBorrowbyBorrowNid(java.lang.String)
	 */
	@Override
	public Borrow getBorrowbyBorrowNid(String borrowNid) {
		return borrowMapper.selectByBorrowNid(borrowNid);
	}

}
